﻿namespace TemplateAspCore.Models
{
    /// <summary>
    /// 返回参数
    /// </summary>
    public class ReturnArgument
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="isSuccess">1或0</param>
        /// <param name="message">成功或失败消息</param>
        public ReturnArgument(string isSuccess, string message)
        {
            this.IsSuccess = isSuccess;
            this.Message = message;
        }
        /// <summary>
        /// 是否成功标志
        /// </summary>
        public string IsSuccess { get; set; }
        /// <summary>
        /// 成功或失败消息
        /// </summary>
        public string Message { get; set; }
    }
}
